package com.qfedu.ssm.controllers;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MController {

    @RequestMapping("/m_find.do")
    @RequiresPermissions("sys:m:find")
    public String find(){
        System.out.println("m------find");
        return null;
    }

    @RequestMapping("/m_update.do")
    @RequiresPermissions("sys:m:update")
    public String update(){
        System.out.println("m------update");
        return null;
    }
    @RequestMapping("/m_save.do")
    @RequiresPermissions("sys:m:save")
    public String save(){
        System.out.println("m------save");
        return null;
    }
    @RequestMapping("/m_delete.do")
    @RequiresPermissions("sys:m:delete")
    public String delete(){
        System.out.println("m------delete");
        return null;
    }
}
